<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      th:replace="fragments/layout(title='收费项目-列表',jsPaths='/static/plugins/qrcode.min.js,/static/js/financial/receipt/list.js')">
    <div class="right" th:fragment="right">
                <!--面包屑-->
                <div class="breadcrumb layui-bg-gray">
                    <span class="layui-breadcrumb" lay-separator=">">
                        <a th:href="@{/}">首页</a>
                        <a href="/receipt">收费管理</a>
                        <a href="/receipt">收费项目</a>
                        <a><cite>列表</cite></a>
                    </span>
                </div>

                <!--主体内容区-->
                <div class="page-content">
                    <div class="search-box">
                        <form id="search-form" class="layui-form">
                            <div class="layui-input-inline">
                                <select name="type">
                                    <option value="">收费项目类型(全部)</option>
                                    <option value="1" >服务收费</option>
                                    <option value="2" >套餐收费</option>
                                    <option value="3" >其它收费</option>
                                </select>
                            </div>
                            <div class="layui-input-inline">
                                <select name="status" >
                                    <option value="">支付状态(全部)</option>
                                    <option value="1" >未支付</option>
                                    <option value="3" >已支付</option>
                                </select>
                            </div>
                            <div class="layui-input-inline">
                                <input type="text" name="elderlyName" required   placeholder="老人姓名" autocomplete="off" class="layui-input">
                            </div>
                           <!-- <div class="layui-input-inline">
                                <button class="layui-btn layui-btn-normal" type="button" id="search">查询</button>
                                <button class="layui-btn layui-btn-primary" type="reset" id="reset">重置</button>
                            </div>-->

                        </form>
                    </div>
                    <div class="layui-btn-group">
                        <a href="/receipt/add"  class="layui-btn layui-btn-normal" auth="cwgl-sfgl-add">创建其它收费项</a>
                    </div>
                    <div class="layui-input-inline">
                        <button class="layui-btn layui-btn-normal" type="button" id="search">查询</button>
                        <button class="layui-btn layui-btn-primary" type="reset" id="reset" form="search-form">重置</button>
                    </div>
                    <table id="demo" lay-filter="test"></table>
                </div>
                <script type="text/html" id="toolbar">
                    <a href="javascript:void(0)" class="layui-btn layui-btn-xs" lay-event="detail" auth="cwgl-sfgl-detail">详细信息</a>
                    {{#  if(d.status == 1){ }}
                        <a href="javascript:void(0)" class="layui-btn layui-btn-warm layui-btn-xs" lay-event="edit" auth="cwgl-sfgl-edit">编辑</a>
                    {{#  } }}
                    {{#  if(d.status == 1){ }}
                        <!--<a href="javascript:void(0)" class="layui-btn layui-btn-xs" lay-event="cashPay" auth="cwgl-sfgl-payment" >现金收费</a>-->
                        <!--<a href="javascript:void(0)" class="layui-btn layui-btn-xs" lay-event="onlinePay" auth="cwgl-sfgl-payment" >在线收费</a>-->
                        <!--<a href="javascript:void(0)" class="layui-btn layui-btn-xs" lay-event="slotCardPay" auth="cwgl-sfgl-payment" >刷卡支付</a>-->
                        <!--<a href="javascript:void(0)" class="layui-btn layui-btn-xs" lay-event="sedReceipt" auth="cwgl-sfgl-sedReceipt" >远程收费</a>-->
                    {{#  } }}
                    {{#  if(d.status == 1){ }}
                        <a href="javascript:void(0)" class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete" auth="cwgl-sfgl-delete">删除</a>
                    {{#  } }}
                </script>
                <div style="display: none;" id="qrcodeWrap">
                    <div id="info" style="margin: 10px;"></div>
                    <div id="qrcode" style="margin: 10px;"></div>
                </div>

            </div>
</html>